package com.fortune.enums;

public enum PMAccountMgtEnum {
	SUCCESS(true,"成功"),
	ACCOUNT_EXIST(false,"账户已存在"),
	ACCOUNT_PHONE_EXIST(false,"手机号已存在"),
	ACCOUNT_NAME_EXIST(false,"名称已存在"),
	ACCOUNT_ABBRE_EXIST(false,"简称已存在"),
	ACCOUNT_NUMBER_EXIST(false,"编号已存在"),
	ACCOUNT_NO_EXIST(false,"账户不存在"),
	ACCOUNT_DISABLE(false,"账户已禁用,不能再禁用"),
	ACCOUNT_ENABLE(false,"账户已启用,不能再启用"),
	FAILURE(false,"操作失败,请重新操作");
	private boolean status;
	private String msg;
	public boolean isStatus() {
		return status;
	}
	public void setStatus(boolean status) {
		this.status = status;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	private PMAccountMgtEnum(boolean status, String msg) {
		this.status = status;
		this.msg = msg;
	}
	
}
